#ifndef _I_API_SHADER_RESOURCE_VIEW_H_
#define _I_API_SHADER_RESOURCE_VIEW_H_

#include "../interface/I_api_View.h"

class I_api_ShaderResourceView : public I_api_View
{
protected:

	S_api_ShaderResourceView_Desc m_Desc;

	I_api_ShaderResourceView(I_api_Resource * pResource, const S_api_ShaderResourceView_Desc * pDesc, I_api_Device * pDevice)
		:	I_api_View(pResource, pDevice) 
	{ 
		m_Desc = *pDesc; 
	}
public:
	~I_api_ShaderResourceView(){}

	virtual void GetDesc(S_api_ShaderResourceView_Desc * pDesc) { if (pDesc) *pDesc = m_Desc; } 
};

#endif